﻿using System;
using System.Collections.Generic;
using System.Linq;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository
{
    public interface IDesktopWindowRepository
    {        

        /// <summary>
        /// Get window settings for given windowId and userId
        /// </summary>
        /// <param name="windowId"></param>
        /// <param name="userId"></param>
        /// <param name="type"></param>
        /// <returns></returns>
        Widget Get(Guid windowId);

        /// <summary>
        /// Save new window settings entity or Update already existing entity
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        Widget Save(Widget item);
     
    }
}
